<?php

class McCube_Exception_DirNotFound extends McCube_Exception{

    protected $dirPath = '';

    /** */
    public function __construct($dirPath){
        $this->dirPath = $dirPath;

        parent::__construct(
            'Directory [ '.$dirPath.' ] not found !'
        );
    }

    /** */
    public function renderHTML(){
        return ''
            .'Directory not found !'
            .'<br />- Path : [ <em style="color:green;">'.$this->dirPath.'</em> ]'
        ;
    }



}